import axios from '../../axios.js';

const tenants = {
    getTenantsById: function (id) {
        return axios({
            url: '/tenants/getTenantsById',
            method: "post",
            data: { id }
        })
    },
    changeTenantsById: function (data) {
        return axios({
            url: '/tenants/changeTenantsById',
            method: "post",
            data:data
        })
    },
}
export default tenants;